package com.service;

import com.bean.ShoppingCart;

import java.util.List;
import java.util.Map;

/**
 * 销售购物车接口
 */
public interface ShoppingCartService {
    /** 添加 */
    int save(ShoppingCart shoppingCart);
    /** 删除 */
    int remove(ShoppingCart shoppingCart);
    /** 修改 */
    int modify(ShoppingCart shoppingCart);
    /** 查询 */
    List<ShoppingCart> find(ShoppingCart shoppingCart);

    /** 查询总记录数 */
    int count(Map<String, Object> map);
    /** 分页与条件查询 */
    List<ShoppingCart> query(Map<String, Object> map);
}
